package hottargui.framework;

public class GameObjectServer {

	GameData gameData;
	AttackStrategy attackStrategy;
	WinnerStrategy winnerStrategy;
	BuyStrategy buyStrategy;
	TurnSequenceStrategy turnSequenceStrategy;
	BoardStrategy boardStrategy;
	
	public GameObjectServer(TarguiFactory factory)
	{
		gameData = new GameData();
		
		attackStrategy = factory.getAttackStrategy();
		winnerStrategy = factory.getWinnerStrategy();
		buyStrategy = factory.getBuyStrategy();
		turnSequenceStrategy = factory.getTurnSequenceStrategy();
		boardStrategy = factory.getBoardStrategy();
	}
	
	public GameData getGameData()
	{
		return gameData;
	}
	
	public AttackStrategy getAttackStrategy()
	{
		return attackStrategy;
	}
	
	public WinnerStrategy getWinnerStrategy()
	{
		return winnerStrategy;
	}
	
	public BuyStrategy getBuyStrategy()
	{
		return buyStrategy;
	}
	
	public TurnSequenceStrategy getTurnSequenceStrategy()
	{
		return turnSequenceStrategy;
	}
	
	public BoardStrategy getBoardStrategy()
	{
		return boardStrategy;
	}
}
